package com.toutiao.issue

import java.util.Date

import org.msgpack.annotation.Message
import org.msgpack.ScalaMessagePack


class DocTitle(
  val name:String,
  val title:Array[String],
  val image:Array[String],
  val date:Date    
    ) {
}

class Document (
    val name:String,
    val vs:Map[String,Double],
    val title:Array[String],
    val date:Date
    ) {
}


@Message
class Topic{
  
    var name: String = ""
    var ms:Array[String] = Array("")
    var vs:Map[String,Double] = Map[String,Double]()
    var title:Array[String] = Array("")
    var  s:Double = 0.0
    var ct:Date = SimpleDate.getDefault
    var ut:Date = SimpleDate.getDefault
    
}
